package com.project.collectAPI.comm;


import lombok.Getter;

public interface enumPay {

    //登录状态
    /*public enum Login{
        Success(200,"登录成功"),
        Fail(405,"登录失败"),
        Forbid(404,"禁止请求"),
        badToken(408,"无效的token");

        @Getter
        private Integer code;
        @Getter
        private String desc;

        Login(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }
        public int getCode() {
            return code;
        }
        public String getValue() {return desc;}
    }*/

    public enum TradeType{
        alipayApp(1,"支付宝APP"),
        alipayQr(2,"支付宝当面付"),
        alipayWap(3,"支付宝H5"),
        alipayLite(4,"支付宝小程序"),
        alipayPub(5,"支付宝生活号"),
        alipayScan(6,"支付宝反扫"),
        wechatQr(7,"微信扫码"),
        wechatPub(8,"微信公众号支付"),
        wechatLite(9,"微信小程序支付"),
        wechatScan(10,"微信反扫"),
        wechatWap(11,"微信H5支付"),
        wechatLiteH5(11,"微信小程序H5支付"),
        unionApp(11,"银联云闪付APP"),
        unionQr(12,"银联云闪付正扫"),
        unionWap(13,"银联云闪付H5支付"),
        unionScan(14,"银联云闪付反扫"),
        unionOnline(15,"银联H5支付"),
        quickPay(16,"快捷支付"),
        obB2c(17,"个人网银支付"),
        obB2b(18,"企业网银支付"),
        dcpay(19,"数字货币支付（央行数字人民币）"),
        qqQr(19,"QQ扫码支付"),
        qqWap(19,"QQH5支付");

        @Getter
        private Integer code;
        @Getter
        private String desc;
        TradeType(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }
        public int getCode() {
            return code;
        }
        public String Desc() {return desc;}
    }





} //Class End
